package com.ddpt.permission.service;

import com.lh.center.common.base.BizService;
import com.lh.center.permission.api.entity.Permission;
import com.lh.center.permission.api.entity.RolePermission;

import java.util.List;

/**
 * <p>
 * 角色-权限关联表 服务类
 * </p>
 *
 * @author czy
 * @since 2022-04-07
 */
public interface RolePermissionService extends BizService<RolePermission> {

    void addBatch(Long roleId, List<Long> permissionIds);

    void updateBatch(Long roleId, List<Long> permissionIds);

    List<Permission> queryPermissionByRole(Long roleId);
}
